# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-tgbdual
pkgver=0_git20200107
pkgrel=0
_commit="9be31d373224cbf288db404afc785df41e61b213"
pkgdesc="libretro port of TGB Dual"
url="https://github.com/libretro/tgbdual-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/tgbdual-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/tgbdual-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 tgbdual_libretro.so "$pkgdir"/usr/lib/libretro/tgbdual_libretro.so
}

sha512sums="3489787bdf6f3c9694964a3cc8adcda5f0122ab38395ac3012d4c1bef64c28ae21b162df98904f306a3e8754ee49822af7a349987a3eb941c72ef1218a1bf1ef  libretro-tgbdual-9be31d373224cbf288db404afc785df41e61b213.tar.gz"
